package friendsbtt.core.lang;

public class TypeResolver<T> {
	
	private Class<?> genericType;
	private T resolvedType;
	

	public TypeResolver(Class<?> g, T t){
		this.genericType = g;
		this.resolvedType = t;
	}
	
	public TypeResolver(T t){
		this.genericType = t.getClass();
		this.resolvedType = t;
	}
	
	public T getResolvedType(){
		return this.resolvedType;
	}
	
	public Class<?> getGenericType(){
		return this.genericType;
	}
}
